
<div class="well well-lg" style="margin-bottom: 0px;">
    <div align="right" style="margin-bottom:10px">
        <button class="btn btn-primary" onclick="window.open('../base/add_org.html')">新增</button>
    </div>
    <table class="table table-bordered" style="margin-bottom: 0px;">
        <tr class="info">
            <th>序号</th>
            <th>名称</th>
            <th>地点</th>
            <th>上级机构</th>
            <th>类型</th>
            <th>操作</th>
        </tr>
        <!--/*@thymesVar id="departments" type="org.springframework.data.domain.Page<com.weirong.smartvault.backservice.entity_model.DepartmentModel>"*/-->
        <tr th:each="department,iterStat: ${departments}">
            <td th:text="${iterStat.index+1}">1</td>
            <td th:text="${department.getName()}">建设银行深圳分行</td>
            <!--/*@thymesVar id="department" type="com.weirong.smartvault.backservice.entity_model.DepartmentModel"*/-->
            <td th:text="${department.getAddressDetail()}">广东省深圳市福田区益田路6003号</td>
            <td th:text="${department.getManage_by()}">建设银行深圳分行</td>
            <td th:text="${department.getType()}">分行</td>
            <td><a th:href="@{/base/add_org(id=${department.getId()})}" target="_blank">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;<a th:href="@{/API/departmentDelete(id=${department.getId()})}">删除</a></td>
        </tr>

    </table>
    <div th:replace="fragment/pageIndex::pageIndex">
    </div>
</div>
